package com.yanliang.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yanliang
 * @date 5/10/20204:01 PM
 */
public class MyContext {
	private String name;
	private String path;
	private volatile List<MyWrapper> wrapperList;

	public MyContext(String name, String path) {
		this.name = name;
		this.path = path;
		this.wrapperList = new ArrayList<>();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public List<MyWrapper> getWrapperList() {
		return wrapperList;
	}

	public void setWrapper(MyWrapper wrapper) {
		this.wrapperList.add(wrapper);
	}
}
